﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001179 RID: 4473
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SetMultipleAvatarPathsCsReq : IMessage<SetMultipleAvatarPathsCsReq>, IMessage, IEquatable<SetMultipleAvatarPathsCsReq>, IDeepCloneable<SetMultipleAvatarPathsCsReq>, IBufferMessage
	{
		// Token: 0x17003894 RID: 14484
		// (get) Token: 0x0600C82D RID: 51245 RVA: 0x0021B8F5 File Offset: 0x00219AF5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SetMultipleAvatarPathsCsReq> Parser
		{
			get
			{
				return SetMultipleAvatarPathsCsReq._parser;
			}
		}

		// Token: 0x17003895 RID: 14485
		// (get) Token: 0x0600C82E RID: 51246 RVA: 0x0021B8FC File Offset: 0x00219AFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SetMultipleAvatarPathsCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003896 RID: 14486
		// (get) Token: 0x0600C82F RID: 51247 RVA: 0x0021B90E File Offset: 0x00219B0E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SetMultipleAvatarPathsCsReq.Descriptor;
			}
		}

		// Token: 0x0600C830 RID: 51248 RVA: 0x0021B915 File Offset: 0x00219B15
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetMultipleAvatarPathsCsReq()
		{
		}

		// Token: 0x0600C831 RID: 51249 RVA: 0x0021B928 File Offset: 0x00219B28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetMultipleAvatarPathsCsReq(SetMultipleAvatarPathsCsReq other) : this()
		{
			this.avatarIdList_ = other.avatarIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C832 RID: 51250 RVA: 0x0021B952 File Offset: 0x00219B52
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetMultipleAvatarPathsCsReq Clone()
		{
			return new SetMultipleAvatarPathsCsReq(this);
		}

		// Token: 0x17003897 RID: 14487
		// (get) Token: 0x0600C833 RID: 51251 RVA: 0x0021B95A File Offset: 0x00219B5A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<MultiPathAvatarType> AvatarIdList
		{
			get
			{
				return this.avatarIdList_;
			}
		}

		// Token: 0x0600C834 RID: 51252 RVA: 0x0021B962 File Offset: 0x00219B62
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SetMultipleAvatarPathsCsReq);
		}

		// Token: 0x0600C835 RID: 51253 RVA: 0x0021B970 File Offset: 0x00219B70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SetMultipleAvatarPathsCsReq other)
		{
			return other != null && (other == this || (this.avatarIdList_.Equals(other.avatarIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C836 RID: 51254 RVA: 0x0021B9A4 File Offset: 0x00219BA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.avatarIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C837 RID: 51255 RVA: 0x0021B9D8 File Offset: 0x00219BD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C838 RID: 51256 RVA: 0x0021B9E0 File Offset: 0x00219BE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C839 RID: 51257 RVA: 0x0021B9E9 File Offset: 0x00219BE9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.avatarIdList_.WriteTo(ref output, SetMultipleAvatarPathsCsReq._repeated_avatarIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C83A RID: 51258 RVA: 0x0021BA10 File Offset: 0x00219C10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.avatarIdList_.CalculateSize(SetMultipleAvatarPathsCsReq._repeated_avatarIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C83B RID: 51259 RVA: 0x0021BA49 File Offset: 0x00219C49
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SetMultipleAvatarPathsCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.avatarIdList_.Add(other.avatarIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C83C RID: 51260 RVA: 0x0021BA77 File Offset: 0x00219C77
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C83D RID: 51261 RVA: 0x0021BA80 File Offset: 0x00219C80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U && num != 50U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.avatarIdList_.AddEntriesFrom(ref input, SetMultipleAvatarPathsCsReq._repeated_avatarIdList_codec);
				}
			}
		}

		// Token: 0x04005060 RID: 20576
		private static readonly MessageParser<SetMultipleAvatarPathsCsReq> _parser = new MessageParser<SetMultipleAvatarPathsCsReq>(() => new SetMultipleAvatarPathsCsReq());

		// Token: 0x04005061 RID: 20577
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005062 RID: 20578
		public const int AvatarIdListFieldNumber = 6;

		// Token: 0x04005063 RID: 20579
		private static readonly FieldCodec<MultiPathAvatarType> _repeated_avatarIdList_codec = FieldCodec.ForEnum<MultiPathAvatarType>(50U, (MultiPathAvatarType x) => (int)x, (int x) => (MultiPathAvatarType)x);

		// Token: 0x04005064 RID: 20580
		private readonly RepeatedField<MultiPathAvatarType> avatarIdList_ = new RepeatedField<MultiPathAvatarType>();
	}
}
